import request from '@/utils/request'
const baseUrl = '/file'

export function uploadFile(data) {
    return request({
        url: `${baseUrl}/upload`,
        method: 'post',
        data: data
    })
}